From fa6cd87122f8d6c1228c3a78fe4d81d64804b0a3 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 30 Jun 2005 07:56:50 +0000 Subject: [PATCH] * (bug 2627) Fix regression: diff radio button initial selection --- RELEASE-NOTES | 1 + includes/PageHistory.php | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 8e39a5113d..0aa3089408 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -430,6 +430,7 @@ Various bugfixes, small features, and a few experimental things: * (bug 2618) Fix regression from another fix; show initial preview for categories only if the page does not exist. * (bug 2625) Keep group & user settings when paging in Listusers +* (bug 2627) Fix regression: diff radio button initial selection === Caveats === diff --git a/includes/PageHistory.php b/includes/PageHistory.php index e1dee33d5f..663f6c38ce 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -153,6 +153,7 @@ class PageHistory { $first = !$i && $offset == 0; $next = isset( $revisions[$i + 1] ) ? $revisions[$i + 1 ] : null; $s .= $this->historyLine($line, $next, $counter, $this->getNotificationTimestamp(), $first); + $counter++; } /* -- 2.20.1